
plugin_manager:register_handler("on_login","test_on_login")
plugin_manager:register_handler("on_logout","test_on_logout")

local login_time = os.time()
function test_on_login(player)
    login_time = os.time()
end

function test_on_logout(player)
    print("login_time:" .. os.time() - login_time )
    log_info("hello_on_logout")
end

